package com.gmall.model.page;


import lombok.Data;

import java.util.List;

@Data
public class PageResult<T> {

    public PageResult(Integer pageNo,Integer pageSize){
        this.pageNo = pageNo;
        this.pageSize = pageSize;
    }
    public Integer pageNo;

    public Integer pageSize;

    public Long total;// 总页数：cell(total/pageSize)

    public List<T> records;
}
